package com.niiwoo.civet.trade.service.lend;

import com.niiwoo.civet.trade.dto.common.LendOrderDetailBizDTO;
import com.niiwoo.civet.trade.dto.common.LendOrderDetailDTO;

import java.util.List;

/**
 * 放款明细
 *
 * @author xiaoyaocai
 */
public interface ProjectLendDetailDubboService {

	/**
	 * 根据流水号查询明细
	 * @param requestNO
	 * @return
	 */
	public LendOrderDetailDTO queryLendOrderDetailByRequestNO(String requestNO);

	/**
	 * 根据流水号和业务类型查询明细
	 * @param requestNO 流水号
	 * @param bizType 业务类型
	 * @return LendOrderDetailDTO
	 */
	default List<LendOrderDetailBizDTO> queryLeanOrderDetailByRequestNO(String requestNO, String bizType){
		throw new UnsupportedOperationException("unimplemented");
	}
}
